import axios from "axios" 
/* 获取全部合同列表 */
 export const getAlist =params=> {
  return axios({
    method: 'GET', // 
    url: `/webcontract/ctcontract/page`,
    params
})
}
/* 合同详情 */
export const getpaycostlist =id=> {
  return axios({
    method: 'GET', // 
    url: `webcontract/ctcontract/${id}`,
   
})
}
/* 导出合同 */
/* 合同详情 */
export const exportfils =params=> {
  return axios({
    method: 'GET', // 
    url: `webcontract/ctcontract/export`,//webcontract/ctcontract/export?contractNumber&companyName&contractTypeId=0&contractStatus=1
   params,
   responseType: 'blob'
})
}